package manage.model;

import m.common.model.FieldMeta;
import m.common.model.LinkTableMeta;
import m.common.model.Model;
import m.common.model.TableMeta;
import m.common.model.type.FieldType;

@TableMeta(name="os_server_detail_sql",description="服务记录明细sql")
public class ServerDetailSql extends Model {
    @LinkTableMeta(name="server_detail_oid",table=ServerRequestDetail.class,notnull=true,description="所属服务记录明细")
    private ServerRequestDetail serverDetail;
    @FieldMeta(name="exe_method",type= FieldType.STRING,length = 20,description="执行方法")
    private String exeMethod;
    @FieldMeta(name="exe_result",type= FieldType.STRING,length = 20,description="执行结果")
    private String exeResult;
    @FieldMeta(name="exe_sql",type= FieldType.STRING,length = 2000,dbType = "text",description="执行sql")
    private String exeSql;
    @FieldMeta(name="exe_param",type= FieldType.STRING,length = 2000,dbType = "text",description="执行参数")
    private String exeParam;
    @FieldMeta(name="exe_long",type=FieldType.LONG,description="执行时长|毫秒")
    private Long exeLong;//

    public String getExeResult() {
        return exeResult;
    }

    public void setExeResult(String exeResult) {
        this.exeResult = exeResult;
    }

    public String getExeMethod() {
        return exeMethod;
    }

    public void setExeMethod(String exeMethod) {
        this.exeMethod = exeMethod;
    }

    public ServerRequestDetail getServerDetail() {
        return serverDetail;
    }

    public void setServerDetail(ServerRequestDetail serverDetail) {
        this.serverDetail = serverDetail;
    }

    public String getExeSql() {
        return exeSql;
    }

    public void setExeSql(String exeSql) {
        this.exeSql = exeSql;
    }

    public String getExeParam() {
        return exeParam;
    }

    public void setExeParam(String exeParam) {
        this.exeParam = exeParam;
    }

    public Long getExeLong() {
        return exeLong;
    }

    public void setExeLong(Long exeLong) {
        this.exeLong = exeLong;
    }
}
